import {get} from '@/utils/request'

export default {
  getMajors: depId => get('/api/admin/major/list/' + depId),
  add: major => post('/api/admin/major/add', major),
  update: major => post('/api/admin/major/update', major),
}
